* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh; /* 修改为 min-height */
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* 添加 overflow-y: auto; */
}


.navbar {
    float: left;
    position: relative;
    z-index: 2;
    width: 70px;
}

#checkbox {
    display: none;
}

.navbar label {
    position: absolute;
    top: 0;
    left: 70px;
    width: 100%;
    height: 43px;
    font-size: 30px;
    color: #5a738e;
    background-color: #ededed;
    padding-left: 20px;
    border: 1px solid #d9dee4;
    cursor: pointer;
    transition: all 0.5s;
}

.navbar ul {
    list-style: none;
    width: 70px;
    height: 100vh;
    background-color: #2a3f54;
    transition: all 0.5s;
    overflow: hidden;
}

.navbar ul li {
    height: 70px;
    margin-bottom: 10px;
}

.navbar ul li:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.navbar ul li:first-child img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.navbar ul li:first-child span {
    color: #fff;
    white-space: nowrap;
    padding-left: 10px;
    display: none;
}

.navbar ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #d1d1d1d1;
    text-decoration: none;
}

.navbar ul li a i {
    font-size: 25px;
    margin-bottom: 10px;
}

.navbar ul li a span {
    font-size: 12px;
    white-space: nowrap;
}

.navbar ul li a:hover {
    color: #fff;
    background-color: #35495d;
}

.navbar input:checked + label {
    left: 200px;
}

.navbar input:checked ~ ul {
    width: 200px;
}

.navbar input:checked ~ ul li:first-child {
    justify-content: flex-start;
}

.navbar input:checked ~ ul li:first-child span {
    display: block;
}

.navbar input:checked ~ ul li a {
    flex-direction: row;
    justify-content: flex-start;
}

.navbar input:checked ~ ul li a i {
    font-size: 18px;
    margin: 0 15px 0 30px;
}

.navbar input:checked ~ ul li a span {
    font-size: 14px;
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-container {
    text-align: center;
    max-width: 1200px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.team-container h1 {
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #333;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.member-card {
    background-color: #eaeaea;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    width: 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.member-photo {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

.member-card h2 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #555;
}

.member-card p {
    font-size: 1em;
    color: #777;
}

